home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / stomp / stomp.doc < prev    next >
Text File  |  1994-09-30  |  2KB  |  57 lines

  1. STOMP.DLL
  2. Copyright (C) 1994 DRAGON SOFTWARE
  3. ALL RIGHTS RESERVED
  4.  
  5. Thank You For Trying STOMP.DLL. This Dynamic Link Library will
  6. compress a single file. STOMP uses a fast and effective compression  
  7. Procedure. Stomp was written for Dungeon Maker to compress bitmaps
  8. Saved in Visual Basic. Dungeon Maker usually save a bitmap that is
  9. equivalent to a 8.5 X 11 in. page, at 256 colors the file size was 
  10. very large about 860k large, after being compress with Stomp the 
  11. file was 172K. 
  12.  
  13. Provided is sample source Code Ready for Visual Basic and the EXE file.
  14.  
  15. Below is the VB declaration for the Custom Dynamic Library and should be 
  16. placed within the form declaration or the Module declaration.
  17.  
  18. Declare Function Doit Lib "stomp.DLL" (ByVal in As String, ByVal out As String) As Integer
  19. Declare Function UNdoit Lib "stomp.DLL" (ByVal in As String, ByVal out As String) As Integer
  20.  
  21. The Function Doit will compress a file
  22. The Function UnDoit will Uncompress a file
  23.  
  24. PARAMS:
  25. IN - The File to be Compressed or Uncompressed
  26. OUT - The file to be Compressed or Uncompressed to.
  27.  
  28. RETURNS:
  29. 1     =   Function was Successful
  30. 2     =   Function was not successfull
  31.  
  32.  
  33. below is an example how to call the DOIT and UNDOIT functions.
  34.  
  35.     x% = doit("C:\AUTOEXEC.BAT", "C:\AUTOEXEC.CMP")
  36.     x% = undoit("C:\AUTOEXEC.CMP, "C:\AUTOEXEC.BAT)
  37.  
  38.  
  39. -----------------------------------------------------------------------------
  40.  
  41. CONTACTING DRAGON SOFTWARE.
  42.  
  43. SUPPORT BBS.....................................(304)363-2252
  44. AOL.............................................DSOFTWARE
  45. INTERNET........................................DSOFTWARE@AOL.COM
  46. PHONE...........................................(304)584-4143
  47. US Mail.........................................P.O. Box 299
  48.                                                 Lumberport, WV  26386
  49. -----------------------------------------------------------------------------
  50.  
  51. REGISTRATION
  52.  
  53. Please Open REGISTER.TXT
  54.  
  55.  
  56.  
  57.